<template>
    <div>
        <el-button @click= "registA1">注册A()</el-button>
        <el-button @click= "registB1">注册B()</el-button>
        <el-button @click= "sendA1">sendA()</el-button>
        <el-button @click= "callA21">callA2()</el-button>
        <div id="audioOutputSelectWrapper" style="display: none;">
            选择播放设备(meeting)
            <select id="audioOutputSelect" onchange="changeAudioOutput(this)"></select>
        </div>
        <video id='remote' autoplay='1'  width="640" height="480" src="">

        </video>
        <video id='local' autoplay='1' style="width: 640px; height: 480px">

        </video>
        <audio id="call_music" class="hide" autoplay="autoplay"></audio>
        <video id='remoteC' autoplay='1' style="width: 640px; height: 480px">

        </video>
    </div>
</template>

<script>
// import RTCVideo from "../../../public/js_rtc/rtc-video.min.js";
import "../../../public/js_rtc/test.js";
import { registA,registB, sendA,callA2 } from '../../../public/js_rtc/test.js';
export default {
    name: 'dashboard',
    data() {
        return {
           
        };
    },
    created() {
                
    },
    mounted(){
       
    },
    methods: {
        registA1(){
            registA();
        },
        registB1(){
            registB();
        },
        sendA1(){
           sendA('aaa');
        },
        callA1(){
            callA2();
        },
        callA21(){
            callA2();
        }
    }
};
</script>


<style scoped>
</style>
